const mockPersonDate = {
    status: 200,
    message: '成功',
    data: [
        {
            id: '1',
            date: '2016-05-01',
            dateTime: '2016-05-01 10:00:00',
            name: 'Tom',
            state: 'California',
            city: 'Los Angeles',
            address: 'No. 189, Grove St, Los Angeles',
            zip: 'CA 90036 CA 90036 CA 90036 CA 90036',
        },
        {
            id: '2',
            date: '2016-05-02',
            dateTime: '2016-05-02 12:00:00',
            name: 'Tom',
            state: 'California',
            city: 'Los Angeles',
            address: 'No. 189, Grove St, Los Angeles',
            zip: 'CA 90036',
        },
        {
            id: '3',
            date: '2016-05-03',
            dateTime: '2016-05-03 14:00:00',
            name: 'Tom',
            state: 'California',
            city: 'Los Angeles',
            address: 'No. 189, Grove St, Los Angeles',
            zip: 'CA 90036',
        },
        {
            id: '4',
            date: '2016-05-03',
            dateTime: '2016-05-03 14:00:00',
            name: 'James',
            state: 'California',
            city: 'Los Angeles',
            address: 'No. 189, Grove St, Los Angeles',
            zip: 'CA 90036',
        },
        {
            id: '5',
            date: '2018-05-03',
            dateTime: '2016-05-03 14:00:00',
            name: 'James-zt',
            state: 'California',
            city: 'Los Angeles',
            address: 'No. 189, Grove St, Los Angeles',
            zip: 'CA 90036',
        },
        {
            id: '6',
            date: '2017-05-01',
            dateTime: '2016-05-01 10:00:00',
            name: 'Tom',
            state: 'California',
            city: 'Los Angeles',
            address: 'No. 189, Grove St, Los Angeles',
            zip: 'CA 90036 CA 90036 CA 90036 CA 90036',
        },
        {
            id: '7',
            date: '2017-05-02',
            dateTime: '2016-05-02 12:00:00',
            name: 'Tom',
            state: 'California',
            city: 'Los Angeles',
            address: 'No. 189, Grove St, Los Angeles',
            zip: 'CA 90036',
        },
        {
            id: '8',
            date: '2017-05-03',
            dateTime: '2016-05-03 14:00:00',
            name: 'Tom',
            state: 'California',
            city: 'Los Angeles',
            address: 'No. 189, Grove St, Los Angeles',
            zip: 'CA 90036',
        },
        {
            id: '9',
            date: '2017-05-03',
            dateTime: '2016-05-03 14:00:00',
            name: 'James',
            state: 'California',
            city: 'Los Angeles',
            address: 'No. 189, Grove St, Los Angeles',
            zip: 'CA 90036',
        },
        {
            id: '10',
            date: '2020-05-03',
            dateTime: '2016-05-03 14:00:00',
            name: 'James-zt',
            state: 'California',
            city: 'Los Angeles',
            address: 'No. 189, Grove St, Los Angeles',
            zip: 'CA 90036',
        },
        {
            id: '11',
            date: '2023-05-03',
            dateTime: '2016-05-03 14:00:00',
            name: 'Tom',
            state: 'California',
            city: 'Los Angeles',
            address: 'No. 189, Grove St, Los Angeles',
            zip: 'CA 90036',
        },
        {
            id: '12',
            date: '2021-05-03',
            dateTime: '2016-05-03 14:00:00',
            name: 'James',
            state: 'California',
            city: 'Los Angeles',
            address: 'No. 189, Grove St, Los Angeles',
            zip: 'CA 90036',
        },
        {
            id: '13',
            date: '2021-05-03',
            dateTime: '2016-05-03 14:00:00',
            name: 'James-zt',
            state: 'California',
            city: 'Los Angeles',
            address: 'No. 189, Grove St, Los Angeles',
            zip: 'CA 90036',
        },
    ]
}

export const personApi = (): Promise<object> => {
    return new Promise((resolve)=>{
        setTimeout(()=>{
            resolve(mockPersonDate)
        },1000)

    })
}

